package com.chenfan.mcn.extension.excel;

import lombok.Data;

import java.io.Serializable;

/**
 * @author tangwei
 * Date:     2021/2/1 11:26
 * Description: 自定义导出字段
 */
@Data
public class ExcelCustom implements Serializable {

    /**
     * 字段key
     */
    private String key;

    /**
     * sheet名
     */
    private String sheetName;

    /**
     * 字段宽度
     */
    private Integer width = 30;

    /**
     * 导出类型
     */
    private Integer exportType;

    public ExcelCustom(String key, String sheetName) {
        this.key = key;
        this.sheetName = sheetName;
    }

}